<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>NGUI: Next-Gen UI kit: UIInput Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">NGUI: Next-Gen UI kit
   &#160;<span id="projectnumber">3.7.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_u_i_input.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pro-static-attribs">Static Protected Attributes</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_u_i_input-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">UIInput Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Input field makes it possible to enter custom information within the UI.  
 <a href="class_u_i_input.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for UIInput:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_u_i_input.png" usemap="#UIInput_map" alt=""/>
  <map id="UIInput_map" name="UIInput_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a05d673c26fe69c739841ec6fcecbd07a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a05d673c26fe69c739841ec6fcecbd07a">InputType</a> { <a class="el" href="class_u_i_input.html#a05d673c26fe69c739841ec6fcecbd07aaeb6d8ae6f20283755b339c0dc273988b">InputType.Standard</a>, 
<a class="el" href="class_u_i_input.html#a05d673c26fe69c739841ec6fcecbd07aae336565230b923e35d5355a453a832a4">InputType.AutoCorrect</a>, 
<a class="el" href="class_u_i_input.html#a05d673c26fe69c739841ec6fcecbd07aadc647eb65e6711e155375218212b3964">InputType.Password</a>
 }</td></tr>
<tr class="separator:a05d673c26fe69c739841ec6fcecbd07a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5882893793c4f59effea9f20b524c0d2"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a5882893793c4f59effea9f20b524c0d2">Validation</a> { <br />
&#160;&#160;<a class="el" href="class_u_i_input.html#a5882893793c4f59effea9f20b524c0d2a6adf97f83acf6453d4a6a4b1070f3754">Validation.None</a>, 
<a class="el" href="class_u_i_input.html#a5882893793c4f59effea9f20b524c0d2aa0faef0851b4294c06f2b94bb1cb2044">Validation.Integer</a>, 
<a class="el" href="class_u_i_input.html#a5882893793c4f59effea9f20b524c0d2a22ae0e2b89e5e3d477f988cc36d3272b">Validation.Float</a>, 
<a class="el" href="class_u_i_input.html#a5882893793c4f59effea9f20b524c0d2af47e3bc3b7558713220312ade618a80e">Validation.Alphanumeric</a>, 
<br />
&#160;&#160;<a class="el" href="class_u_i_input.html#a5882893793c4f59effea9f20b524c0d2af6039d44b29456b20f8f373155ae4973">Validation.Username</a>, 
<a class="el" href="class_u_i_input.html#a5882893793c4f59effea9f20b524c0d2a49ee3087348e8d44e1feda1917443987">Validation.Name</a>
<br />
 }</td></tr>
<tr class="separator:a5882893793c4f59effea9f20b524c0d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a655fa00d0bf7e83a9412484b976d6732"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a655fa00d0bf7e83a9412484b976d6732">KeyboardType</a> { <br />
&#160;&#160;<a class="el" href="class_u_i_input.html#a655fa00d0bf7e83a9412484b976d6732a7a1920d61156abc05a60135aefe8bc67">KeyboardType.Default</a> = 0, 
<a class="el" href="class_u_i_input.html#a655fa00d0bf7e83a9412484b976d6732ac2fa2d0400af6cbbd2a824074b0a8032">KeyboardType.ASCIICapable</a> = 1, 
<a class="el" href="class_u_i_input.html#a655fa00d0bf7e83a9412484b976d6732aa56d01ff14a21536a061488de42b1ef6">KeyboardType.NumbersAndPunctuation</a> = 2, 
<a class="el" href="class_u_i_input.html#a655fa00d0bf7e83a9412484b976d6732ae6b391a8d2c4d45902a23a8b6585703d">KeyboardType.URL</a> = 3, 
<br />
&#160;&#160;<a class="el" href="class_u_i_input.html#a655fa00d0bf7e83a9412484b976d6732a9d4808d9052bce82f08bca0428d7d630">KeyboardType.NumberPad</a> = 4, 
<a class="el" href="class_u_i_input.html#a655fa00d0bf7e83a9412484b976d6732ac6011585cf42af73f3a09c443eb5c9c0">KeyboardType.PhonePad</a> = 5, 
<a class="el" href="class_u_i_input.html#a655fa00d0bf7e83a9412484b976d6732a63b2e8403be34a03a2373d372980fc3d">KeyboardType.NamePhonePad</a> = 6, 
<a class="el" href="class_u_i_input.html#a655fa00d0bf7e83a9412484b976d6732a1e674f0dd1434f2bb3fe5d645b0f9cc3">KeyboardType.EmailAddress</a> = 7
<br />
 }</td></tr>
<tr class="separator:a655fa00d0bf7e83a9412484b976d6732"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93460bdbb7bb632acf2c20d2bdc1d3c8"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a93460bdbb7bb632acf2c20d2bdc1d3c8">OnReturnKey</a> { <a class="el" href="class_u_i_input.html#a93460bdbb7bb632acf2c20d2bdc1d3c8a7a1920d61156abc05a60135aefe8bc67">OnReturnKey.Default</a>, 
<a class="el" href="class_u_i_input.html#a93460bdbb7bb632acf2c20d2bdc1d3c8aa4d3b161ce1309df1c4e25df28694b7b">OnReturnKey.Submit</a>, 
<a class="el" href="class_u_i_input.html#a93460bdbb7bb632acf2c20d2bdc1d3c8a16c885b2d67a4c187016f935e9a35373">OnReturnKey.NewLine</a>
 }</td></tr>
<tr class="separator:a93460bdbb7bb632acf2c20d2bdc1d3c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7096584b3d6392db3e42c1ffde8973af"><td class="memItemLeft" align="right" valign="top">delegate char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a7096584b3d6392db3e42c1ffde8973af">OnValidate</a> (string <a class="el" href="class_u_i_input.html#a80829dda5a4ca242f625a5951ae254b8">text</a>, int charIndex, char addedChar)</td></tr>
<tr class="separator:a7096584b3d6392db3e42c1ffde8973af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71f0178aa87641d95159015e77af6246"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a71f0178aa87641d95159015e77af6246">Validate</a> (string val)</td></tr>
<tr class="memdesc:a71f0178aa87641d95159015e77af6246"><td class="mdescLeft">&#160;</td><td class="mdescRight">Validate the specified text, returning the validated version.  <a href="#a71f0178aa87641d95159015e77af6246">More...</a><br /></td></tr>
<tr class="separator:a71f0178aa87641d95159015e77af6246"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3073fd90bea464df575beae76098536c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a3073fd90bea464df575beae76098536c">Submit</a> ()</td></tr>
<tr class="memdesc:a3073fd90bea464df575beae76098536c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Submit the input field's text.  <a href="#a3073fd90bea464df575beae76098536c">More...</a><br /></td></tr>
<tr class="separator:a3073fd90bea464df575beae76098536c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cf1077ac60822139a3d8c202b05917d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a2cf1077ac60822139a3d8c202b05917d">UpdateLabel</a> ()</td></tr>
<tr class="memdesc:a2cf1077ac60822139a3d8c202b05917d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the visual text label.  <a href="#a2cf1077ac60822139a3d8c202b05917d">More...</a><br /></td></tr>
<tr class="separator:a2cf1077ac60822139a3d8c202b05917d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae742a0268c73c7cb05f9778551eb4db4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#ae742a0268c73c7cb05f9778551eb4db4">RemoveFocus</a> ()</td></tr>
<tr class="memdesc:ae742a0268c73c7cb05f9778551eb4db4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience function to be used as a callback that will clear the input field's focus.  <a href="#ae742a0268c73c7cb05f9778551eb4db4">More...</a><br /></td></tr>
<tr class="separator:ae742a0268c73c7cb05f9778551eb4db4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32924c791030ed71c3e3684b47821bb4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a32924c791030ed71c3e3684b47821bb4">SaveValue</a> ()</td></tr>
<tr class="memdesc:a32924c791030ed71c3e3684b47821bb4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience function that can be used as a callback for On Change notification.  <a href="#a32924c791030ed71c3e3684b47821bb4">More...</a><br /></td></tr>
<tr class="separator:a32924c791030ed71c3e3684b47821bb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01faa9930d6be8081f7733e30332eb62"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a01faa9930d6be8081f7733e30332eb62">LoadValue</a> ()</td></tr>
<tr class="memdesc:a01faa9930d6be8081f7733e30332eb62"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience function that can forcefully reset the input field's value to what was saved earlier.  <a href="#a01faa9930d6be8081f7733e30332eb62">More...</a><br /></td></tr>
<tr class="separator:a01faa9930d6be8081f7733e30332eb62"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:aaec549fe8834293c65d5f01985405b39"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_label.html">UILabel</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#aaec549fe8834293c65d5f01985405b39">label</a></td></tr>
<tr class="memdesc:aaec549fe8834293c65d5f01985405b39"><td class="mdescLeft">&#160;</td><td class="mdescRight">Text label used to display the input's value.  <a href="#aaec549fe8834293c65d5f01985405b39">More...</a><br /></td></tr>
<tr class="separator:aaec549fe8834293c65d5f01985405b39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41f759278e488476f029320a7db3c4f3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_input.html#a05d673c26fe69c739841ec6fcecbd07a">InputType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a41f759278e488476f029320a7db3c4f3">inputType</a> = InputType.Standard</td></tr>
<tr class="memdesc:a41f759278e488476f029320a7db3c4f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type of data expected by the input field.  <a href="#a41f759278e488476f029320a7db3c4f3">More...</a><br /></td></tr>
<tr class="separator:a41f759278e488476f029320a7db3c4f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8ece489625971bb081c7f2d7621f206"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_input.html#a93460bdbb7bb632acf2c20d2bdc1d3c8">OnReturnKey</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#aa8ece489625971bb081c7f2d7621f206">onReturnKey</a> = OnReturnKey.Default</td></tr>
<tr class="memdesc:aa8ece489625971bb081c7f2d7621f206"><td class="mdescLeft">&#160;</td><td class="mdescRight">What to do when the Return key is pressed on the keyboard.  <a href="#aa8ece489625971bb081c7f2d7621f206">More...</a><br /></td></tr>
<tr class="separator:aa8ece489625971bb081c7f2d7621f206"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a66df5a69f0e112c6aee9492c297328"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_input.html#a655fa00d0bf7e83a9412484b976d6732">KeyboardType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a9a66df5a69f0e112c6aee9492c297328">keyboardType</a> = KeyboardType.Default</td></tr>
<tr class="memdesc:a9a66df5a69f0e112c6aee9492c297328"><td class="mdescLeft">&#160;</td><td class="mdescRight">Keyboard type applies to mobile keyboards that get shown.  <a href="#a9a66df5a69f0e112c6aee9492c297328">More...</a><br /></td></tr>
<tr class="separator:a9a66df5a69f0e112c6aee9492c297328"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad23beebe019f4b9b1fcced13f74decd1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#ad23beebe019f4b9b1fcced13f74decd1">hideInput</a> = false</td></tr>
<tr class="memdesc:ad23beebe019f4b9b1fcced13f74decd1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the input will be hidden on mobile platforms.  <a href="#ad23beebe019f4b9b1fcced13f74decd1">More...</a><br /></td></tr>
<tr class="separator:ad23beebe019f4b9b1fcced13f74decd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36dbf4d525706c7d344d2230a14814ec"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_input.html#a5882893793c4f59effea9f20b524c0d2">Validation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a36dbf4d525706c7d344d2230a14814ec">validation</a> = Validation.None</td></tr>
<tr class="memdesc:a36dbf4d525706c7d344d2230a14814ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">What kind of validation to use with the input field's data.  <a href="#a36dbf4d525706c7d344d2230a14814ec">More...</a><br /></td></tr>
<tr class="separator:a36dbf4d525706c7d344d2230a14814ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4dd2cbe7a913c0250c51064073b36576"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a4dd2cbe7a913c0250c51064073b36576">characterLimit</a> = 0</td></tr>
<tr class="memdesc:a4dd2cbe7a913c0250c51064073b36576"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum number of characters allowed before input no longer works.  <a href="#a4dd2cbe7a913c0250c51064073b36576">More...</a><br /></td></tr>
<tr class="separator:a4dd2cbe7a913c0250c51064073b36576"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d61b7bdb5e38234806f1c5cb49ddd62"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a5d61b7bdb5e38234806f1c5cb49ddd62">savedAs</a></td></tr>
<tr class="memdesc:a5d61b7bdb5e38234806f1c5cb49ddd62"><td class="mdescLeft">&#160;</td><td class="mdescRight">Field in player prefs used to automatically save the value.  <a href="#a5d61b7bdb5e38234806f1c5cb49ddd62">More...</a><br /></td></tr>
<tr class="separator:a5d61b7bdb5e38234806f1c5cb49ddd62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0174a542f1029ffdc8f467cf3b01881b"><td class="memItemLeft" align="right" valign="top">GameObject&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a0174a542f1029ffdc8f467cf3b01881b">selectOnTab</a></td></tr>
<tr class="memdesc:a0174a542f1029ffdc8f467cf3b01881b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Object to select when Tab key gets pressed.  <a href="#a0174a542f1029ffdc8f467cf3b01881b">More...</a><br /></td></tr>
<tr class="separator:a0174a542f1029ffdc8f467cf3b01881b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d8690d59e074617c293c23f74cb6725"><td class="memItemLeft" align="right" valign="top">Color&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a7d8690d59e074617c293c23f74cb6725">activeTextColor</a> = Color.white</td></tr>
<tr class="memdesc:a7d8690d59e074617c293c23f74cb6725"><td class="mdescLeft">&#160;</td><td class="mdescRight">Color of the label when the input field has focus.  <a href="#a7d8690d59e074617c293c23f74cb6725">More...</a><br /></td></tr>
<tr class="separator:a7d8690d59e074617c293c23f74cb6725"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cc9431ea5939c365795b8da694b36b7"><td class="memItemLeft" align="right" valign="top">Color&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a2cc9431ea5939c365795b8da694b36b7">caretColor</a> = new Color(1f, 1f, 1f, 0.8f)</td></tr>
<tr class="memdesc:a2cc9431ea5939c365795b8da694b36b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Color used by the caret symbol.  <a href="#a2cc9431ea5939c365795b8da694b36b7">More...</a><br /></td></tr>
<tr class="separator:a2cc9431ea5939c365795b8da694b36b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8f2394f78cec6ea7abdc4c74dffd138"><td class="memItemLeft" align="right" valign="top">Color&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#ae8f2394f78cec6ea7abdc4c74dffd138">selectionColor</a> = new Color(1f, 223f / 255f, 141f / 255f, 0.5f)</td></tr>
<tr class="memdesc:ae8f2394f78cec6ea7abdc4c74dffd138"><td class="mdescLeft">&#160;</td><td class="mdescRight">Color used by the selection rectangle.  <a href="#ae8f2394f78cec6ea7abdc4c74dffd138">More...</a><br /></td></tr>
<tr class="separator:ae8f2394f78cec6ea7abdc4c74dffd138"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a242de4d779ef2c0e964c092c625699d8"><td class="memItemLeft" align="right" valign="top">List&lt; <a class="el" href="class_event_delegate.html">EventDelegate</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a242de4d779ef2c0e964c092c625699d8">onSubmit</a> = new List&lt;<a class="el" href="class_event_delegate.html">EventDelegate</a>&gt;()</td></tr>
<tr class="memdesc:a242de4d779ef2c0e964c092c625699d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Event delegates triggered when the input field submits its data.  <a href="#a242de4d779ef2c0e964c092c625699d8">More...</a><br /></td></tr>
<tr class="separator:a242de4d779ef2c0e964c092c625699d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af867bb6017ebf000bc1882a93582ecf0"><td class="memItemLeft" align="right" valign="top">List&lt; <a class="el" href="class_event_delegate.html">EventDelegate</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#af867bb6017ebf000bc1882a93582ecf0">onChange</a> = new List&lt;<a class="el" href="class_event_delegate.html">EventDelegate</a>&gt;()</td></tr>
<tr class="memdesc:af867bb6017ebf000bc1882a93582ecf0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Event delegates triggered when the input field's text changes for any reason.  <a href="#af867bb6017ebf000bc1882a93582ecf0">More...</a><br /></td></tr>
<tr class="separator:af867bb6017ebf000bc1882a93582ecf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf35040d895193fb8d89abb9dea3447b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_input.html#a7096584b3d6392db3e42c1ffde8973af">OnValidate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#adf35040d895193fb8d89abb9dea3447b">onValidate</a></td></tr>
<tr class="memdesc:adf35040d895193fb8d89abb9dea3447b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Custom validation callback.  <a href="#adf35040d895193fb8d89abb9dea3447b">More...</a><br /></td></tr>
<tr class="separator:adf35040d895193fb8d89abb9dea3447b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:aff1e00dedae1e8c19b17162ed3866207"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_u_i_input.html">UIInput</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#aff1e00dedae1e8c19b17162ed3866207">current</a></td></tr>
<tr class="memdesc:aff1e00dedae1e8c19b17162ed3866207"><td class="mdescLeft">&#160;</td><td class="mdescRight">Currently active input field. Only valid during callbacks.  <a href="#aff1e00dedae1e8c19b17162ed3866207">More...</a><br /></td></tr>
<tr class="separator:aff1e00dedae1e8c19b17162ed3866207"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a898a33038c11891adbe08eb2ec46bc2b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_u_i_input.html">UIInput</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a898a33038c11891adbe08eb2ec46bc2b">selection</a></td></tr>
<tr class="memdesc:a898a33038c11891adbe08eb2ec46bc2b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Currently selected input field, if any.  <a href="#a898a33038c11891adbe08eb2ec46bc2b">More...</a><br /></td></tr>
<tr class="separator:a898a33038c11891adbe08eb2ec46bc2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a59d6672b977ca8e9bc4e194372fd6975"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a59d6672b977ca8e9bc4e194372fd6975">Init</a> ()</td></tr>
<tr class="memdesc:a59d6672b977ca8e9bc4e194372fd6975"><td class="mdescLeft">&#160;</td><td class="mdescRight">Labels used for input shouldn't support rich text.  <a href="#a59d6672b977ca8e9bc4e194372fd6975">More...</a><br /></td></tr>
<tr class="separator:a59d6672b977ca8e9bc4e194372fd6975"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45942f8e97e44f2a9dd857d3eb553ed7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a45942f8e97e44f2a9dd857d3eb553ed7">SaveToPlayerPrefs</a> (string val)</td></tr>
<tr class="memdesc:a45942f8e97e44f2a9dd857d3eb553ed7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Save the specified value to player prefs.  <a href="#a45942f8e97e44f2a9dd857d3eb553ed7">More...</a><br /></td></tr>
<tr class="separator:a45942f8e97e44f2a9dd857d3eb553ed7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac62276b31fd2b74448452e9175128f96"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#ac62276b31fd2b74448452e9175128f96">OnSelect</a> (bool <a class="el" href="class_u_i_input.html#a01cdadc8615530bfbe616094f2ae75cf">isSelected</a>)</td></tr>
<tr class="memdesc:ac62276b31fd2b74448452e9175128f96"><td class="mdescLeft">&#160;</td><td class="mdescRight">Selection event, sent by the EventSystem.  <a href="#ac62276b31fd2b74448452e9175128f96">More...</a><br /></td></tr>
<tr class="separator:ac62276b31fd2b74448452e9175128f96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d600de228c003df7309f3d8d14e3362"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a2d600de228c003df7309f3d8d14e3362">OnSelectEvent</a> ()</td></tr>
<tr class="memdesc:a2d600de228c003df7309f3d8d14e3362"><td class="mdescLeft">&#160;</td><td class="mdescRight">Notification of the input field gaining selection.  <a href="#a2d600de228c003df7309f3d8d14e3362">More...</a><br /></td></tr>
<tr class="separator:a2d600de228c003df7309f3d8d14e3362"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b901a1b895b55f569a7ac2f469ffe71"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a5b901a1b895b55f569a7ac2f469ffe71">OnDeselectEvent</a> ()</td></tr>
<tr class="memdesc:a5b901a1b895b55f569a7ac2f469ffe71"><td class="mdescLeft">&#160;</td><td class="mdescRight">Notification of the input field losing selection.  <a href="#a5b901a1b895b55f569a7ac2f469ffe71">More...</a><br /></td></tr>
<tr class="separator:a5b901a1b895b55f569a7ac2f469ffe71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3d19e04e302d382d095f65cd4ba43a3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#ae3d19e04e302d382d095f65cd4ba43a3">DoBackspace</a> ()</td></tr>
<tr class="memdesc:ae3d19e04e302d382d095f65cd4ba43a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform a backspace operation.  <a href="#ae3d19e04e302d382d095f65cd4ba43a3">More...</a><br /></td></tr>
<tr class="separator:ae3d19e04e302d382d095f65cd4ba43a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb8f703963213badecabdd3c08630d95"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#aeb8f703963213badecabdd3c08630d95">ProcessEvent</a> (Event ev)</td></tr>
<tr class="memdesc:aeb8f703963213badecabdd3c08630d95"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handle the specified event.  <a href="#aeb8f703963213badecabdd3c08630d95">More...</a><br /></td></tr>
<tr class="separator:aeb8f703963213badecabdd3c08630d95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10961b912b9fcb8ff7dbd93fe528e53a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a10961b912b9fcb8ff7dbd93fe528e53a">Insert</a> (string <a class="el" href="class_u_i_input.html#a80829dda5a4ca242f625a5951ae254b8">text</a>)</td></tr>
<tr class="memdesc:a10961b912b9fcb8ff7dbd93fe528e53a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Insert the specified text string into the current input value, respecting selection and validation.  <a href="#a10961b912b9fcb8ff7dbd93fe528e53a">More...</a><br /></td></tr>
<tr class="separator:a10961b912b9fcb8ff7dbd93fe528e53a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84d62ff89c806da6e8f97c7d2fa4cddc"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a84d62ff89c806da6e8f97c7d2fa4cddc">GetLeftText</a> ()</td></tr>
<tr class="memdesc:a84d62ff89c806da6e8f97c7d2fa4cddc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the text to the left of the selection.  <a href="#a84d62ff89c806da6e8f97c7d2fa4cddc">More...</a><br /></td></tr>
<tr class="separator:a84d62ff89c806da6e8f97c7d2fa4cddc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa405b58a14c78a58748489de5a0276db"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#aa405b58a14c78a58748489de5a0276db">GetRightText</a> ()</td></tr>
<tr class="memdesc:aa405b58a14c78a58748489de5a0276db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the text to the right of the selection.  <a href="#aa405b58a14c78a58748489de5a0276db">More...</a><br /></td></tr>
<tr class="separator:aa405b58a14c78a58748489de5a0276db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8de4922d7212334ba1d5356ced0989c3"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a8de4922d7212334ba1d5356ced0989c3">GetSelection</a> ()</td></tr>
<tr class="memdesc:a8de4922d7212334ba1d5356ced0989c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get currently selected text.  <a href="#a8de4922d7212334ba1d5356ced0989c3">More...</a><br /></td></tr>
<tr class="separator:a8de4922d7212334ba1d5356ced0989c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb2e8871fd79da9db610ea326f2f15d0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#afb2e8871fd79da9db610ea326f2f15d0">GetCharUnderMouse</a> ()</td></tr>
<tr class="memdesc:afb2e8871fd79da9db610ea326f2f15d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper function that retrieves the index of the character under the mouse.  <a href="#afb2e8871fd79da9db610ea326f2f15d0">More...</a><br /></td></tr>
<tr class="separator:afb2e8871fd79da9db610ea326f2f15d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a024648d45ed1f87eeb073b330f26bcba"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a024648d45ed1f87eeb073b330f26bcba">OnPress</a> (bool isPressed)</td></tr>
<tr class="memdesc:a024648d45ed1f87eeb073b330f26bcba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move the caret on press.  <a href="#a024648d45ed1f87eeb073b330f26bcba">More...</a><br /></td></tr>
<tr class="separator:a024648d45ed1f87eeb073b330f26bcba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bbb66c37de72c94a84d6b98aa129d85"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a3bbb66c37de72c94a84d6b98aa129d85">OnDrag</a> (Vector2 delta)</td></tr>
<tr class="memdesc:a3bbb66c37de72c94a84d6b98aa129d85"><td class="mdescLeft">&#160;</td><td class="mdescRight">Drag selection.  <a href="#a3bbb66c37de72c94a84d6b98aa129d85">More...</a><br /></td></tr>
<tr class="separator:a3bbb66c37de72c94a84d6b98aa129d85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfad851ddf1a6680946e728fbd58851e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#acfad851ddf1a6680946e728fbd58851e">Cleanup</a> ()</td></tr>
<tr class="memdesc:acfad851ddf1a6680946e728fbd58851e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cleanup.  <a href="#acfad851ddf1a6680946e728fbd58851e">More...</a><br /></td></tr>
<tr class="separator:acfad851ddf1a6680946e728fbd58851e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c13c9b6285a588b8716fa400182cd62"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a3c13c9b6285a588b8716fa400182cd62">SetPivotToLeft</a> ()</td></tr>
<tr class="memdesc:a3c13c9b6285a588b8716fa400182cd62"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the label's pivot to the left.  <a href="#a3c13c9b6285a588b8716fa400182cd62">More...</a><br /></td></tr>
<tr class="separator:a3c13c9b6285a588b8716fa400182cd62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74636efd2a4facb62ca1d15870fb1cf3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a74636efd2a4facb62ca1d15870fb1cf3">SetPivotToRight</a> ()</td></tr>
<tr class="memdesc:a74636efd2a4facb62ca1d15870fb1cf3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the label's pivot to the right.  <a href="#a74636efd2a4facb62ca1d15870fb1cf3">More...</a><br /></td></tr>
<tr class="separator:a74636efd2a4facb62ca1d15870fb1cf3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8d7ef5e4914d6b82ae6362f6eca0c94"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#ab8d7ef5e4914d6b82ae6362f6eca0c94">RestoreLabelPivot</a> ()</td></tr>
<tr class="memdesc:ab8d7ef5e4914d6b82ae6362f6eca0c94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Restore the input label's pivot point.  <a href="#ab8d7ef5e4914d6b82ae6362f6eca0c94">More...</a><br /></td></tr>
<tr class="separator:ab8d7ef5e4914d6b82ae6362f6eca0c94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27531066f9cd303fbc14a6a6596ac37d"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a27531066f9cd303fbc14a6a6596ac37d">Validate</a> (string <a class="el" href="class_u_i_input.html#a80829dda5a4ca242f625a5951ae254b8">text</a>, int pos, char ch)</td></tr>
<tr class="memdesc:a27531066f9cd303fbc14a6a6596ac37d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Validate the specified input.  <a href="#a27531066f9cd303fbc14a6a6596ac37d">More...</a><br /></td></tr>
<tr class="separator:a27531066f9cd303fbc14a6a6596ac37d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa342f192890d90a1c6072d5b6559f7f5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#aa342f192890d90a1c6072d5b6559f7f5">ExecuteOnChange</a> ()</td></tr>
<tr class="memdesc:aa342f192890d90a1c6072d5b6559f7f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Execute the OnChange callback.  <a href="#aa342f192890d90a1c6072d5b6559f7f5">More...</a><br /></td></tr>
<tr class="separator:aa342f192890d90a1c6072d5b6559f7f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a47ac9750fcdb6f6616afefc63de32bba"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a47ac9750fcdb6f6616afefc63de32bba">mValue</a></td></tr>
<tr class="memdesc:a47ac9750fcdb6f6616afefc63de32bba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Input field's value.  <a href="#a47ac9750fcdb6f6616afefc63de32bba">More...</a><br /></td></tr>
<tr class="separator:a47ac9750fcdb6f6616afefc63de32bba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f737bc3e4a555565286fa94235bd659"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a6f737bc3e4a555565286fa94235bd659">mDefaultText</a> = &quot;&quot;</td></tr>
<tr class="separator:a6f737bc3e4a555565286fa94235bd659"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a709756ece6db077ad3a6b6004bff8408"><td class="memItemLeft" align="right" valign="top">Color&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a709756ece6db077ad3a6b6004bff8408">mDefaultColor</a> = Color.white</td></tr>
<tr class="separator:a709756ece6db077ad3a6b6004bff8408"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f2548d91554ae007ea0c73f71c92970"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a6f2548d91554ae007ea0c73f71c92970">mPosition</a> = 0f</td></tr>
<tr class="separator:a6f2548d91554ae007ea0c73f71c92970"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f7dfc632210eede65c6f9c251e5e9e2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a4f7dfc632210eede65c6f9c251e5e9e2">mDoInit</a> = true</td></tr>
<tr class="separator:a4f7dfc632210eede65c6f9c251e5e9e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86d488b42f88656c3e95aaaae64e5646"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_widget.html#a596c5570fff0afa9f4c1930e0965fb22">UIWidget.Pivot</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a86d488b42f88656c3e95aaaae64e5646">mPivot</a> = UIWidget.Pivot.TopLeft</td></tr>
<tr class="separator:a86d488b42f88656c3e95aaaae64e5646"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24ecd667b42d7c1f2e8f47d0d1440149"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a24ecd667b42d7c1f2e8f47d0d1440149">mLoadSavedValue</a> = true</td></tr>
<tr class="separator:a24ecd667b42d7c1f2e8f47d0d1440149"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fbe7ffc3bff6bc3c6bf9e44742f2afd"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a0fbe7ffc3bff6bc3c6bf9e44742f2afd">mSelectionStart</a> = 0</td></tr>
<tr class="separator:a0fbe7ffc3bff6bc3c6bf9e44742f2afd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba6914a2f8859e7afeebe4eff5b9e4e4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#aba6914a2f8859e7afeebe4eff5b9e4e4">mSelectionEnd</a> = 0</td></tr>
<tr class="separator:aba6914a2f8859e7afeebe4eff5b9e4e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ee8e1a6c7f2840471e56146572a3ad0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_texture.html">UITexture</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a9ee8e1a6c7f2840471e56146572a3ad0">mHighlight</a> = null</td></tr>
<tr class="separator:a9ee8e1a6c7f2840471e56146572a3ad0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a478f1ef13f7d7ae4b4a6969a39ae77c3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_texture.html">UITexture</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a478f1ef13f7d7ae4b4a6969a39ae77c3">mCaret</a> = null</td></tr>
<tr class="separator:a478f1ef13f7d7ae4b4a6969a39ae77c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae316d05317996f60863a2b00b51e6fc6"><td class="memItemLeft" align="right" valign="top">Texture2D&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#ae316d05317996f60863a2b00b51e6fc6">mBlankTex</a> = null</td></tr>
<tr class="separator:ae316d05317996f60863a2b00b51e6fc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f68b2c582f005fc729c4ad4c50e0539"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a2f68b2c582f005fc729c4ad4c50e0539">mNextBlink</a> = 0f</td></tr>
<tr class="separator:a2f68b2c582f005fc729c4ad4c50e0539"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d722fc6b46cc213ace69c25031c20c0"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a6d722fc6b46cc213ace69c25031c20c0">mLastAlpha</a> = 0f</td></tr>
<tr class="separator:a6d722fc6b46cc213ace69c25031c20c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0f2f0cca9ac14849faa150d38d2f059"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#ab0f2f0cca9ac14849faa150d38d2f059">mCached</a> = &quot;&quot;</td></tr>
<tr class="separator:ab0f2f0cca9ac14849faa150d38d2f059"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96d4947312fc3552cf4b64eb03897357"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a96d4947312fc3552cf4b64eb03897357">mSelectMe</a> = -1</td></tr>
<tr class="separator:a96d4947312fc3552cf4b64eb03897357"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-attribs"></a>
Static Protected Attributes</h2></td></tr>
<tr class="memitem:a298318e096b6e8b62a4b27a14960ae0f"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a298318e096b6e8b62a4b27a14960ae0f">mDrawStart</a> = 0</td></tr>
<tr class="separator:a298318e096b6e8b62a4b27a14960ae0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa5f4017115f591836715c90d16a019c"><td class="memItemLeft" align="right" valign="top">static string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#aaa5f4017115f591836715c90d16a019c">mLastIME</a> = &quot;&quot;</td></tr>
<tr class="separator:aaa5f4017115f591836715c90d16a019c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a634206bbc2f45434d2d780d291bccb8a"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a634206bbc2f45434d2d780d291bccb8a">defaultText</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a634206bbc2f45434d2d780d291bccb8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default text used by the input's label.  <a href="#a634206bbc2f45434d2d780d291bccb8a">More...</a><br /></td></tr>
<tr class="separator:a634206bbc2f45434d2d780d291bccb8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a475c5d00a0934f51ab809ed0fc6ecaea"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a475c5d00a0934f51ab809ed0fc6ecaea">inputShouldBeHidden</a><code> [get]</code></td></tr>
<tr class="memdesc:a475c5d00a0934f51ab809ed0fc6ecaea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Should the input be hidden?  <a href="#a475c5d00a0934f51ab809ed0fc6ecaea">More...</a><br /></td></tr>
<tr class="separator:a475c5d00a0934f51ab809ed0fc6ecaea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80829dda5a4ca242f625a5951ae254b8"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a80829dda5a4ca242f625a5951ae254b8">text</a><code> [get, set]</code></td></tr>
<tr class="separator:a80829dda5a4ca242f625a5951ae254b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9907f1a34c4681ee58a82d3370f61d1f"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a9907f1a34c4681ee58a82d3370f61d1f">value</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a9907f1a34c4681ee58a82d3370f61d1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Input field's current text value.  <a href="#a9907f1a34c4681ee58a82d3370f61d1f">More...</a><br /></td></tr>
<tr class="separator:a9907f1a34c4681ee58a82d3370f61d1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefc96ecca7caa4436b3ddc8dd8d58fa8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#aefc96ecca7caa4436b3ddc8dd8d58fa8">selected</a><code> [get, set]</code></td></tr>
<tr class="separator:aefc96ecca7caa4436b3ddc8dd8d58fa8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01cdadc8615530bfbe616094f2ae75cf"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a01cdadc8615530bfbe616094f2ae75cf">isSelected</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a01cdadc8615530bfbe616094f2ae75cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the input is currently selected.  <a href="#a01cdadc8615530bfbe616094f2ae75cf">More...</a><br /></td></tr>
<tr class="separator:a01cdadc8615530bfbe616094f2ae75cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49e81c8fc2e579405c0e0162230fa290"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a49e81c8fc2e579405c0e0162230fa290">cursorPosition</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a49e81c8fc2e579405c0e0162230fa290"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current position of the cursor.  <a href="#a49e81c8fc2e579405c0e0162230fa290">More...</a><br /></td></tr>
<tr class="separator:a49e81c8fc2e579405c0e0162230fa290"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44543dc75e659a1a30b861835b9d9da2"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a44543dc75e659a1a30b861835b9d9da2">selectionStart</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a44543dc75e659a1a30b861835b9d9da2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Index of the character where selection begins.  <a href="#a44543dc75e659a1a30b861835b9d9da2">More...</a><br /></td></tr>
<tr class="separator:a44543dc75e659a1a30b861835b9d9da2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0e65baad7bcd095b08fca4e0b149f86"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#aa0e65baad7bcd095b08fca4e0b149f86">selectionEnd</a><code> [get, set]</code></td></tr>
<tr class="memdesc:aa0e65baad7bcd095b08fca4e0b149f86"><td class="mdescLeft">&#160;</td><td class="mdescRight">Index of the character where selection ends.  <a href="#aa0e65baad7bcd095b08fca4e0b149f86">More...</a><br /></td></tr>
<tr class="separator:aa0e65baad7bcd095b08fca4e0b149f86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13ccf0c800080ea3fa0236199db7fcb3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_texture.html">UITexture</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_input.html#a13ccf0c800080ea3fa0236199db7fcb3">caret</a><code> [get]</code></td></tr>
<tr class="memdesc:a13ccf0c800080ea3fa0236199db7fcb3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Caret, in case it's needed.  <a href="#a13ccf0c800080ea3fa0236199db7fcb3">More...</a><br /></td></tr>
<tr class="separator:a13ccf0c800080ea3fa0236199db7fcb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Input field makes it possible to enter custom information within the UI. </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="a05d673c26fe69c739841ec6fcecbd07a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_u_i_input.html#a05d673c26fe69c739841ec6fcecbd07a">UIInput.InputType</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a05d673c26fe69c739841ec6fcecbd07aaeb6d8ae6f20283755b339c0dc273988b"></a>Standard&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a05d673c26fe69c739841ec6fcecbd07aae336565230b923e35d5355a453a832a4"></a>AutoCorrect&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a05d673c26fe69c739841ec6fcecbd07aadc647eb65e6711e155375218212b3964"></a>Password&#160;</td><td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="a655fa00d0bf7e83a9412484b976d6732"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_u_i_input.html#a655fa00d0bf7e83a9412484b976d6732">UIInput.KeyboardType</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a655fa00d0bf7e83a9412484b976d6732a7a1920d61156abc05a60135aefe8bc67"></a>Default&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a655fa00d0bf7e83a9412484b976d6732ac2fa2d0400af6cbbd2a824074b0a8032"></a>ASCIICapable&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a655fa00d0bf7e83a9412484b976d6732aa56d01ff14a21536a061488de42b1ef6"></a>NumbersAndPunctuation&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a655fa00d0bf7e83a9412484b976d6732ae6b391a8d2c4d45902a23a8b6585703d"></a>URL&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a655fa00d0bf7e83a9412484b976d6732a9d4808d9052bce82f08bca0428d7d630"></a>NumberPad&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a655fa00d0bf7e83a9412484b976d6732ac6011585cf42af73f3a09c443eb5c9c0"></a>PhonePad&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a655fa00d0bf7e83a9412484b976d6732a63b2e8403be34a03a2373d372980fc3d"></a>NamePhonePad&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a655fa00d0bf7e83a9412484b976d6732a1e674f0dd1434f2bb3fe5d645b0f9cc3"></a>EmailAddress&#160;</td><td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="a93460bdbb7bb632acf2c20d2bdc1d3c8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_u_i_input.html#a93460bdbb7bb632acf2c20d2bdc1d3c8">UIInput.OnReturnKey</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a93460bdbb7bb632acf2c20d2bdc1d3c8a7a1920d61156abc05a60135aefe8bc67"></a>Default&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a93460bdbb7bb632acf2c20d2bdc1d3c8aa4d3b161ce1309df1c4e25df28694b7b"></a>Submit&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a93460bdbb7bb632acf2c20d2bdc1d3c8a16c885b2d67a4c187016f935e9a35373"></a>NewLine&#160;</td><td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="a5882893793c4f59effea9f20b524c0d2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_u_i_input.html#a5882893793c4f59effea9f20b524c0d2">UIInput.Validation</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a5882893793c4f59effea9f20b524c0d2a6adf97f83acf6453d4a6a4b1070f3754"></a>None&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a5882893793c4f59effea9f20b524c0d2aa0faef0851b4294c06f2b94bb1cb2044"></a>Integer&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a5882893793c4f59effea9f20b524c0d2a22ae0e2b89e5e3d477f988cc36d3272b"></a>Float&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a5882893793c4f59effea9f20b524c0d2af47e3bc3b7558713220312ade618a80e"></a>Alphanumeric&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a5882893793c4f59effea9f20b524c0d2af6039d44b29456b20f8f373155ae4973"></a>Username&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a5882893793c4f59effea9f20b524c0d2a49ee3087348e8d44e1feda1917443987"></a>Name&#160;</td><td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="acfad851ddf1a6680946e728fbd58851e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UIInput.Cleanup </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Cleanup. </p>

</div>
</div>
<a class="anchor" id="ae3d19e04e302d382d095f65cd4ba43a3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void UIInput.DoBackspace </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Perform a backspace operation. </p>

</div>
</div>
<a class="anchor" id="aa342f192890d90a1c6072d5b6559f7f5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void UIInput.ExecuteOnChange </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Execute the OnChange callback. </p>

</div>
</div>
<a class="anchor" id="afb2e8871fd79da9db610ea326f2f15d0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int UIInput.GetCharUnderMouse </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Helper function that retrieves the index of the character under the mouse. </p>

</div>
</div>
<a class="anchor" id="a84d62ff89c806da6e8f97c7d2fa4cddc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string UIInput.GetLeftText </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the text to the left of the selection. </p>

</div>
</div>
<a class="anchor" id="aa405b58a14c78a58748489de5a0276db"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string UIInput.GetRightText </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the text to the right of the selection. </p>

</div>
</div>
<a class="anchor" id="a8de4922d7212334ba1d5356ced0989c3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string UIInput.GetSelection </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get currently selected text. </p>

</div>
</div>
<a class="anchor" id="a59d6672b977ca8e9bc4e194372fd6975"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void UIInput.Init </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Labels used for input shouldn't support rich text. </p>

</div>
</div>
<a class="anchor" id="a10961b912b9fcb8ff7dbd93fe528e53a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UIInput.Insert </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>text</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Insert the specified text string into the current input value, respecting selection and validation. </p>

</div>
</div>
<a class="anchor" id="a01faa9930d6be8081f7733e30332eb62"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UIInput.LoadValue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convenience function that can forcefully reset the input field's value to what was saved earlier. </p>

</div>
</div>
<a class="anchor" id="a5b901a1b895b55f569a7ac2f469ffe71"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void UIInput.OnDeselectEvent </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Notification of the input field losing selection. </p>

</div>
</div>
<a class="anchor" id="a3bbb66c37de72c94a84d6b98aa129d85"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UIInput.OnDrag </td>
          <td>(</td>
          <td class="paramtype">Vector2&#160;</td>
          <td class="paramname"><em>delta</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Drag selection. </p>

</div>
</div>
<a class="anchor" id="a024648d45ed1f87eeb073b330f26bcba"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UIInput.OnPress </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>isPressed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Move the caret on press. </p>

</div>
</div>
<a class="anchor" id="ac62276b31fd2b74448452e9175128f96"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UIInput.OnSelect </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>isSelected</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Selection event, sent by the EventSystem. </p>

</div>
</div>
<a class="anchor" id="a2d600de228c003df7309f3d8d14e3362"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void UIInput.OnSelectEvent </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Notification of the input field gaining selection. </p>

</div>
</div>
<a class="anchor" id="a7096584b3d6392db3e42c1ffde8973af"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">delegate char UIInput.OnValidate </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>charIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>addedChar</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aeb8f703963213badecabdd3c08630d95"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool UIInput.ProcessEvent </td>
          <td>(</td>
          <td class="paramtype">Event&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Handle the specified event. </p>

</div>
</div>
<a class="anchor" id="ae742a0268c73c7cb05f9778551eb4db4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UIInput.RemoveFocus </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convenience function to be used as a callback that will clear the input field's focus. </p>

</div>
</div>
<a class="anchor" id="ab8d7ef5e4914d6b82ae6362f6eca0c94"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void UIInput.RestoreLabelPivot </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Restore the input label's pivot point. </p>

</div>
</div>
<a class="anchor" id="a45942f8e97e44f2a9dd857d3eb553ed7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void UIInput.SaveToPlayerPrefs </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Save the specified value to player prefs. </p>

</div>
</div>
<a class="anchor" id="a32924c791030ed71c3e3684b47821bb4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UIInput.SaveValue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convenience function that can be used as a callback for On Change notification. </p>

</div>
</div>
<a class="anchor" id="a3c13c9b6285a588b8716fa400182cd62"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void UIInput.SetPivotToLeft </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the label's pivot to the left. </p>

</div>
</div>
<a class="anchor" id="a74636efd2a4facb62ca1d15870fb1cf3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void UIInput.SetPivotToRight </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the label's pivot to the right. </p>

</div>
</div>
<a class="anchor" id="a3073fd90bea464df575beae76098536c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UIInput.Submit </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Submit the input field's text. </p>

</div>
</div>
<a class="anchor" id="a2cf1077ac60822139a3d8c202b05917d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UIInput.UpdateLabel </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Update the visual text label. </p>

</div>
</div>
<a class="anchor" id="a71f0178aa87641d95159015e77af6246"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string UIInput.Validate </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Validate the specified text, returning the validated version. </p>

</div>
</div>
<a class="anchor" id="a27531066f9cd303fbc14a6a6596ac37d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">char UIInput.Validate </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>ch</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Validate the specified input. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a7d8690d59e074617c293c23f74cb6725"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Color UIInput.activeTextColor = Color.white</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Color of the label when the input field has focus. </p>

</div>
</div>
<a class="anchor" id="a2cc9431ea5939c365795b8da694b36b7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Color UIInput.caretColor = new Color(1f, 1f, 1f, 0.8f)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Color used by the caret symbol. </p>

</div>
</div>
<a class="anchor" id="a4dd2cbe7a913c0250c51064073b36576"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int UIInput.characterLimit = 0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Maximum number of characters allowed before input no longer works. </p>

</div>
</div>
<a class="anchor" id="aff1e00dedae1e8c19b17162ed3866207"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_input.html">UIInput</a> UIInput.current</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Currently active input field. Only valid during callbacks. </p>

</div>
</div>
<a class="anchor" id="ad23beebe019f4b9b1fcced13f74decd1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIInput.hideInput = false</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether the input will be hidden on mobile platforms. </p>

</div>
</div>
<a class="anchor" id="a41f759278e488476f029320a7db3c4f3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_input.html#a05d673c26fe69c739841ec6fcecbd07a">InputType</a> UIInput.inputType = InputType.Standard</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Type of data expected by the input field. </p>

</div>
</div>
<a class="anchor" id="a9a66df5a69f0e112c6aee9492c297328"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_input.html#a655fa00d0bf7e83a9412484b976d6732">KeyboardType</a> UIInput.keyboardType = KeyboardType.Default</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Keyboard type applies to mobile keyboards that get shown. </p>

</div>
</div>
<a class="anchor" id="aaec549fe8834293c65d5f01985405b39"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_label.html">UILabel</a> UIInput.label</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Text label used to display the input's value. </p>

</div>
</div>
<a class="anchor" id="ae316d05317996f60863a2b00b51e6fc6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Texture2D UIInput.mBlankTex = null</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ab0f2f0cca9ac14849faa150d38d2f059"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string UIInput.mCached = &quot;&quot;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a478f1ef13f7d7ae4b4a6969a39ae77c3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_texture.html">UITexture</a> UIInput.mCaret = null</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a709756ece6db077ad3a6b6004bff8408"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Color UIInput.mDefaultColor = Color.white</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a6f737bc3e4a555565286fa94235bd659"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string UIInput.mDefaultText = &quot;&quot;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a4f7dfc632210eede65c6f9c251e5e9e2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool UIInput.mDoInit = true</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a298318e096b6e8b62a4b27a14960ae0f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int UIInput.mDrawStart = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a9ee8e1a6c7f2840471e56146572a3ad0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_texture.html">UITexture</a> UIInput.mHighlight = null</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a6d722fc6b46cc213ace69c25031c20c0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float UIInput.mLastAlpha = 0f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aaa5f4017115f591836715c90d16a019c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string UIInput.mLastIME = &quot;&quot;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a24ecd667b42d7c1f2e8f47d0d1440149"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool UIInput.mLoadSavedValue = true</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a2f68b2c582f005fc729c4ad4c50e0539"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float UIInput.mNextBlink = 0f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a86d488b42f88656c3e95aaaae64e5646"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_widget.html#a596c5570fff0afa9f4c1930e0965fb22">UIWidget.Pivot</a> UIInput.mPivot = UIWidget.Pivot.TopLeft</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a6f2548d91554ae007ea0c73f71c92970"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float UIInput.mPosition = 0f</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aba6914a2f8859e7afeebe4eff5b9e4e4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int UIInput.mSelectionEnd = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a0fbe7ffc3bff6bc3c6bf9e44742f2afd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int UIInput.mSelectionStart = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a96d4947312fc3552cf4b64eb03897357"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int UIInput.mSelectMe = -1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a47ac9750fcdb6f6616afefc63de32bba"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string UIInput.mValue</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Input field's value. </p>

</div>
</div>
<a class="anchor" id="af867bb6017ebf000bc1882a93582ecf0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;<a class="el" href="class_event_delegate.html">EventDelegate</a>&gt; UIInput.onChange = new List&lt;<a class="el" href="class_event_delegate.html">EventDelegate</a>&gt;()</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Event delegates triggered when the input field's text changes for any reason. </p>

</div>
</div>
<a class="anchor" id="aa8ece489625971bb081c7f2d7621f206"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_input.html#a93460bdbb7bb632acf2c20d2bdc1d3c8">OnReturnKey</a> UIInput.onReturnKey = OnReturnKey.Default</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>What to do when the Return key is pressed on the keyboard. </p>

</div>
</div>
<a class="anchor" id="a242de4d779ef2c0e964c092c625699d8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;<a class="el" href="class_event_delegate.html">EventDelegate</a>&gt; UIInput.onSubmit = new List&lt;<a class="el" href="class_event_delegate.html">EventDelegate</a>&gt;()</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Event delegates triggered when the input field submits its data. </p>

</div>
</div>
<a class="anchor" id="adf35040d895193fb8d89abb9dea3447b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_input.html#a7096584b3d6392db3e42c1ffde8973af">OnValidate</a> UIInput.onValidate</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Custom validation callback. </p>

</div>
</div>
<a class="anchor" id="a5d61b7bdb5e38234806f1c5cb49ddd62"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string UIInput.savedAs</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Field in player prefs used to automatically save the value. </p>

</div>
</div>
<a class="anchor" id="a898a33038c11891adbe08eb2ec46bc2b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_input.html">UIInput</a> UIInput.selection</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Currently selected input field, if any. </p>

</div>
</div>
<a class="anchor" id="ae8f2394f78cec6ea7abdc4c74dffd138"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Color UIInput.selectionColor = new Color(1f, 223f / 255f, 141f / 255f, 0.5f)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Color used by the selection rectangle. </p>

</div>
</div>
<a class="anchor" id="a0174a542f1029ffdc8f467cf3b01881b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GameObject UIInput.selectOnTab</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Object to select when Tab key gets pressed. </p>

</div>
</div>
<a class="anchor" id="a36dbf4d525706c7d344d2230a14814ec"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_input.html#a5882893793c4f59effea9f20b524c0d2">Validation</a> UIInput.validation = Validation.None</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>What kind of validation to use with the input field's data. </p>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a class="anchor" id="a13ccf0c800080ea3fa0236199db7fcb3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_texture.html">UITexture</a> UIInput.caret</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Caret, in case it's needed. </p>

</div>
</div>
<a class="anchor" id="a49e81c8fc2e579405c0e0162230fa290"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int UIInput.cursorPosition</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Current position of the cursor. </p>

</div>
</div>
<a class="anchor" id="a634206bbc2f45434d2d780d291bccb8a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string UIInput.defaultText</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default text used by the input's label. </p>

</div>
</div>
<a class="anchor" id="a475c5d00a0934f51ab809ed0fc6ecaea"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool UIInput.inputShouldBeHidden</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Should the input be hidden? </p>

</div>
</div>
<a class="anchor" id="a01cdadc8615530bfbe616094f2ae75cf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool UIInput.isSelected</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Whether the input is currently selected. </p>

</div>
</div>
<a class="anchor" id="aefc96ecca7caa4436b3ddc8dd8d58fa8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool UIInput.selected</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aa0e65baad7bcd095b08fca4e0b149f86"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int UIInput.selectionEnd</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Index of the character where selection ends. </p>

</div>
</div>
<a class="anchor" id="a44543dc75e659a1a30b861835b9d9da2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int UIInput.selectionStart</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Index of the character where selection begins. </p>

</div>
</div>
<a class="anchor" id="a80829dda5a4ca242f625a5951ae254b8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string UIInput.text</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a9907f1a34c4681ee58a82d3370f61d1f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string UIInput.value</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Input field's current text value. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>D:/Projects/NGUI/Assets/NGUI/Scripts/UI/<a class="el" href="_u_i_input_8cs.html">UIInput.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_u_i_input.html">UIInput</a></li>
    <li class="footer">Generated on Sat Sep 13 2014 05:29:18 for NGUI: Next-Gen UI kit by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.8 </li>
  </ul>
</div>
</body>
</html>
